Drawing.correctErrorFloor Method

Returns the value of a number truncated after a number of digits to eliminate rounding error while accommodating a standard amount of precision for rendering to pixels.
 
 
Static This method is static.

Parameters

x

Type: Number
A number.

Return Value


Type: Number
The value of x floored to dundas.Drawing.PIXEL_PRECISION decimal places.